.QA-card {
    position: absolute;
    margin: 0 12px;
    padding: 5px;
    bottom: 0;

    height: calc(100% - 20px);
    width: 340px;
    border-radius: 0 0 5px 5px;
    background-color: white;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);

    /*禁用文本换行*/
    z-index: 4;
}

.QA-header {
    width: 100%;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 5px 5px 0 0;
    border: rgba(0, 0, 0, 0.1) 1px solid;

    vertical-align: middle;
    font-size: 18px;
    line-height: 30px;
}

.QA-body {
    width: 100%;
    height: calc(100% - 76px);
    max-height: calc(100% - 76px);
    border-style: solid;
    border-width: 0 1px;
    border-color: rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    overflow: auto;
    scrollbar-width: none;
}

.QA-body::-webkit-scrollbar {
    display: none;
}

.QA-tail {
    width: 100%;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0 0 5px 5px;
    border: rgba(0, 0, 0, 0.1) 1px solid;

    font-size: 18px;
    line-height: 36px;
}

.QA-pre-icon {
    position: absolute;
    top: calc(50% - 9px);
    left: 12px;
}

.QA-suf-icon {
    position: absolute;
    top: calc(50% - 13px);
    right: 12px;

    padding: 4px;
    border-radius: 3px;
    cursor: pointer;
}

.QA-suf-icon:hover {
    background-color: #eeeeee;
}

.QA-input {
    width: 240px;
    height: 22px;
    padding: 2px 6px;
    border-radius: 3px;
    border: rgba(0, 0, 0, 0.1) 1px solid;
}

.QA-input:focus {
    outline: none;
}

.bookmark {
    position: absolute;
    left: 30px;
    top: 5px;

    background-color: rgb(255, 208, 75);
    height: 160px;
    width: 24px;
    cursor: pointer;
}

.bookmark-gap-tg {
    bottom: 0;
    border-width: 20px 12px;
    border-color: transparent transparent white transparent;
    cursor: default;
}

.dialog-item {
    width: 100%;
    min-height: 40px;
}

.fill-item {
    width: calc(100% - 10px);
    min-height: 40px;
    padding: 5px;
}

[class$='-dialog-avatar'] {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.dialog-img {
    max-width: 40px;
    max-height: 40px;
    border-radius: 5px;
}

.pc-dialog-avatar {
    right: 5px;
}

.npc-dialog-avatar {
    left: 5px;
}

.QA-message-wrapper {
    display: flex;
    width: 234px;
    margin: auto;

    font-size: 16px;
    line-height: 16px;
    min-height: 16px;
}

.QA-message {
    display: inline-block;
    border-radius: 3px;
    padding: 8px;

    line-height: inherit;
    min-height: inherit;
    width: auto;
    text-align: left;
    word-break: break-all;
}

.pc-message {
    justify-content: flex-end;
    align-items: flex-end;
}

.npc-message {
    justify-content: flex-start;
    align-items: flex-start;
}

[class$='-tg'] {
    position: absolute;
    height: 0;
    width: 0;
    border-style: solid;
}

.left-tg {
    display: inline-block;
    border-width: 6px;
    top: 5px;
    left: -12px;
    border-color: transparent rgba(0, 0, 0, 0.1) transparent transparent;
}

.left-gap-tg {
    border-width: 6px;
    top: -5px;
    right: -7px;
    border-color: transparent white transparent transparent;
}

.right-tg {
    border-width: 6px;
    display: inline-block;
    top: 5px;
    right: -12px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.1);
}

.right-gap-tg {
    border-width: 6px;
    top: -6px;
    left: -7px;
    border-color: transparent transparent transparent white;
}